package com.g4.shoppingsingle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.g4.shoppingsingle.pojo.DdAddressInfo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author admin
 * @since 2022-02-19
 */
public interface IDdAddressInfoService extends IService<DdAddressInfo> {


    /**
     * 查询全部信息
     *
     * @return
     */
    public List<DdAddressInfo> selectById();

    /**
     * 增加地址
     *
     * @param
     */
    public void addAddressInfo(String address, int userId);

    /**
     * 删除地址
     */
    public void deleteAddress(int id);


    /**
     * 修改地址
     */

    public void updateAddress(int addressId, String assress, int userId);



}
